﻿// the controller is dependent on the bootstrappedData service to retrieve the 
// courses list for use
// the module which is known to the html page section or entire page is acting a logical container for controller 
registrationModule.controller("CoursesController", function ($scope, coursesRepository) {
    $scope.courses = coursesRepository.get();
});